#!/bin/bash
s=0
i=0
while [ $i != 100 ]
do
	i=$(($i+1))
	s=$(($s+$i))
	echo $s,$i
done
echo "sum=$s"

